/*!
 * jquery.ui.potato.menu
 * 
 * Copyright (c) 2009-2010 makoto_kw, http://www.makotokw.com
 * Licensed under the MIT license.
 * 
 * @author makoto_kw
 * @version 1.1
 */
ul.potato-menu {
	margin:0;
	padding:0;
	width:auto;
	list-style:none;
}
.potato-menu:after {
	content: " ";
	display: block;
	visibility: hidden;
	clear: both;
}
ul.potato-menu li.potato-menu-item {
	margin:0;
	padding:0;
	position:relative;
	list-style:none;
	list-style-position:outside;
	display:inline;
	float:left;
}
ul.potato-menu li.potato-menu-item a {
	display:block;
	text-decoration:none;
	white-space:nowrap;
	outline:0;
}
ul.potato-menu ul.potato-menu-group {
	margin:0;
	padding:0;
	-webkit-padding-start:0;
	-webkit-padding-end:0;
	position:absolute;
	display:none;
	z-index:1000;
}

li.potato-menu-item {
	width: auto;
	font-size: 12px;
	-moz-box-shadow: inset 1px 1px 0px 0px #eee;
	-webkit-box-shadow: inset 1px 1px 0px 0px #eee;
	box-shadow: inset 1px 1px 0px 0px #eee;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ededed
		), color-stop(1, #dfdfdf) );
	background: -moz-linear-gradient(center top, #ededed 5%, #dfdfdf 100%);
	background-color: #ededed;
}

#pbx-main-menu > ul > li.potato-menu-item {
	border-right: 1px solid #dcdcdc;
}

#pbx-locale-menu > ul > li.potato-menu-item {
	border-left: 1px solid #dcdcdc;
	width: 150px;
}

li.potato-menu-item a {
	color: #777777;
	font-weight: bold;
	text-decoration: none;
	text-shadow: 1px 1px 0px #ffffff;
	padding: 6px 12px;
}

li.potato-menu-item ul {
	border: 1px solid #dcdcdc;
	
	-moz-border-radius: 0 0 3px 3px;
	-webkit-border-radius: 0 0 3px 3px;
	border-radius: 0 0 3px 3px;
}

li.potato-menu-item ul li {
	border: 0;
	width: 100%;
}

li.potato-menu-hover {
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #dfdfdf
		), color-stop(1, #cfcfcf) );
	background: -moz-linear-gradient(center top, #ededed 5%, #cfcfcf 100%);
	background-color: #dfdfdf;
}

li.potato-menu-has-vertical {
    
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ededed
		), color-stop(1, #dfdfdf) );
	background: -moz-linear-gradient(center top, #ededed 5%, #dfdfdf 100%);
	
	background-image: url(../images/arrow_down.png);
	background-position: right center;
	background-repeat: no-repeat;
	margin-right: 12px;
	padding: 6px 25px 6px 12px;
}

li.potato-menu-has-vertical a {
	padding: 6px 25px 6px 12px;
}

li.potato-menu-has-holizontal {
    
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ededed
		), color-stop(1, #dfdfdf) );
	background: -moz-linear-gradient(center top, #ededed 5%, #dfdfdf 100%);
	
	background-image: url(../images/arrow_right.png);
	background-position: right center;
	background-repeat: no-repeat;
	margin-right: 12px;
	padding: 6px 25px 6px 12px;
}

li.potato-menu-has-holizontal a {
	padding: 6px 25px 6px 12px;
}

li.potato-menu-item .lang {
	padding: 6px 25px 6px 22px;
	margin-left: 6px;
}

li.potato-menu-item .lang.fr {
	background: url('../images/flags/fr.png') left center no-repeat;
}

li.potato-menu-item .lang.en {
	background: url('../images/flags/gb.png') left center no-repeat;
}

li.potato-menu-item .lang.es {
	background: url('../images/flags/es.png') left center no-repeat;
}